package com.wj.myClass.bean;

import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;

/**
 * Created by Administrator on 2018/4/11 0011.
 */
public class UserBean<T> {

    /********测试git  冲突处理*************server99************/


    private String sName;
    private int iAge;

    public UserBean() {
        //杰哥写的反射方法
        Type type = getClass().getGenericSuperclass();
        Type[] tArr = ((ParameterizedType) type).getActualTypeArguments();
        Class<T> entityClass = (Class<T>) tArr[0];


    }


    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public int getiAge() {
        return iAge;
    }

    public void setiAge(int iAge) {
        this.iAge = iAge;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "sName='" + sName + '\'' +
                ", iAge=" + iAge +
                '}';
    }
	

    /********测试git  冲突处理*************local************/

}
